package com.ctgu.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("stu_info")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "stu_id", type = IdType.AUTO)
    private Integer stuId;

    @TableField("stu_Name")
    private String stuName;

    @TableField("stu_Pwd")
    private String stuPwd;

    @TableField("stu_Phone")
    private String stuPhone;

    @TableField("sc_id")
    private Integer scId;

    @TableField("team_id")
    private Integer teamId;

    @TableField("stu_recode")
    private String stuRecode;

}
